import request from '@/axios/request';
import url from '@/axios/url';
const { mesUrl, adminUrl } = url();
// 分页查询
export function getList (params = {}) {
  return request({
    url: `${mesUrl}mesSkill`,
    method: 'get',
    params,
  });
}
// 新增
export function rowCreate (data = {}) {
  return request({
    url: `${mesUrl}mesSkill`,
    method: 'post',
    data,
  });
}
// 修改
export function rowUpdate (data = {}) {
  return request({
    url: `${mesUrl}mesSkill`,
    method: 'put',
    data,
  });
}
// 删除
export function rowDel (id) {
  return request({
    url: `${mesUrl}mesSkill/${id}`,
    method: 'put',
  });
}
// 详情
export function rowDetail (id) {
  return request({
    url: `${mesUrl}mesSkill/info/${id}`,
    method: 'get',
  });
}

